package com.itheima.mapper;

import com.github.pagehelper.Page;
import com.itheima.pojo.CheckGroup;
import com.itheima.pojo.SetMeal;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SetMealMapper {


    void save(SetMeal setMeal);

    void saveSetMealAndGroup(@Param("setMealId") Integer setMealId,
                             @Param("checkGroupId") Integer checkGroupId);

    Page<SetMeal> findByCondition(@Param("queryString") String queryString);

    List<SetMeal> findAll();

    SetMeal findById(Integer id);
}
